import "./App.css";
import { Suspense } from "react";
import { useRoutes } from "react-router-dom";
import routes from "@/routes/index.js";

function App() {
  const element = useRoutes(routes);
  return (
    <div className="App">
      111111111111111111111111111
      <Suspense fallback={<div>loading...</div>}>{element}</Suspense>

    </div>
  );
}

export default App;
